<!doctype html>
<html class="signin no-js" lang="en">
<head>
    <meta charset="utf-8">
    <meta name="description" content="">
    <meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1, maximum-scale=1">
    <title>Cameo | {block name="title"}{/block} </title>
    <!-- css -->
	{include file="common/css" /}
	
</head>
<body>

	<!-- main-content -->
	<section class="main-content">

		<!-- bootstrap-table工具栏 -->
		<div class="row">
			<!-- 工具栏 -->
			<div class="" id="toolbar">
				<button type="button" class="btn btn-sm btn-info" onclick="Table.methods.add()">
					<i class="fa fa-plus"></i>
					<span class="hidden-xs">添 加</span>
				</button>
				<button type="button" class="btn btn-sm btn-danger hidden-xs" onclick="Table.methods.dels()">
					<i class="fa fa-trash"></i>
					<span class="hidden-xs">删 除</span>
				</button>
			</div>
		</div>

		{block name="body"}{/block}
	</section>
	<!-- main-content -->

</body>
</html>

<!-- js -->
{include file="common/js" /}

<!-- 处理 移动端点击延迟事件  -->
<script src="/static/admin/js/fastclick.js"></script>

<!-- 滑动导航栏 -->
<script src="/static/admin/js/off-canvas.js"></script>
<script src="/static/admin/js/main.js"></script>
<script src="/static/admin/js/panel.js"></script>



<!-- moment.min.js -->
<script src="/static/admin/vendor/moment.min.js"></script>

<!-- layer -->
<script src="/static/admin/vendor/layer/layer.js"></script>

<!-- bootstrap-table -->
<!-- <link href="/static/admin/vendor/bootstrap-table/bootstrap-table.min.css" rel="stylesheet"> -->
<script src="/static/admin/vendor/bootstrap-table/bootstrap-table.min.js"></script>

<!-- 汉化包 -->
<script src="/static/admin/vendor/bootstrap-table/locale/bootstrap-table-zh-CN.min.js"></script>

<!-- tableExport 导出插件 -->
<script src="/static/admin/vendor/bootstrap-table/extensions/bootstrap-table-export.min.js"></script>
<script src="/static/admin/vendor/bootstrap-table/extensions/tableExport/tableExport.min.js"></script>

<!-- 导出插件 -->
<script src="/static/admin/vendor/bootstrap-table/extensions/tableExport/libs/FileSaver/FileSaver.min.js"></script>
<script src="/static/admin/vendor/bootstrap-table/extensions/tableExport/libs/js-xlsx/xlsx.core.min.js"></script>
<script src="/static/admin/vendor/bootstrap-table/extensions/tableExport/libs/jsPDF/jspdf.min.js"></script>
<script src="/static/admin/vendor/bootstrap-table/extensions/tableExport/libs/jsPDF-AutoTable/jspdf.plugin.autotable.js"></script>
<script src="/static/admin/vendor/bootstrap-table/extensions/tableExport/libs/es6-promise/es6-promise.auto.min.js"></script>
<script src="/static/admin/vendor/bootstrap-table/extensions/tableExport/libs/html2canvas/html2canvas.min.js"></script>

<!-- 跳到指定页数 jumpto -->
<link rel="stylesheet" href="/static/admin/vendor/bootstrap-table/extensions/page-jumpto/bootstrap-table-jumpto.css">
<script src="/static/admin/vendor/bootstrap-table/extensions/page-jumpto/bootstrap-table-jumpto.js"></script>

<!-- 打印插件 -->
<script src="/static/admin/vendor/bootstrap-table/extensions/bootstrap-table-print.js"></script>

<!-- 拷贝行数 copy-rows -->
<script src="/static/admin/vendor/bootstrap-table/extensions/bootstrap-table-copy-rows.js"></script>
<script src="/static/admin/js/table.js"></script>

<!-- toastr-->
<link rel="stylesheet" href="/static/admin/vendor/toastr/toastr.min.css">
<script src="/static/admin/vendor/toastr/toastr.min.js"></script>

<script src="/static/admin/sea.js"></script>
<script src="/static/admin/vue.js"></script>

<script>
Table.urls.print
	Table.urls = {
		"index": "{:url('index')}",
		"create": "{:url('create')}",
		"edit": "{:url('edit')}",
		"delete": "{:url('delete')}",
		"print":"{:url('prints')}"
	};
	// 表格请求头
	table_config.url = "{:url('index')}";

	// https://seajs.github.io/seajs/docs/#docs
	// seajs.config({
	// 	// 调试模式
	// 	debug: true,
	// 	// 文件编码
	// 	alias: {
	// 		'bootstrap.css': 'css/bootstrap.css',
	// 		'index.css': 'css/index.css',
	// 		'vue': 'js/vue.js'
	// 	},
	// 	preload: ['bootstrap.css','index.css','vue']
	// });

</script>
{block name="js"}{/block}
